using System;
using System.Collections.Generic;
using System.Text;

[assembly: CLSCompliant(true)]

namespace Halide
{
	/// <summary>
	/// The command line helper exception class.
	/// </summary>
    [Serializable]
    public class CommandLineException : Exception
    {
        /// <summary>
        /// CommandLineException base class instantiator.
        /// </summary>
		public CommandLineException()
            : base()
        {
        }

		/// <summary>
		/// Exception message for base class.
		/// </summary>
		/// <param name="message"></param>
        public CommandLineException(string message)
            : base(message)
        {
        }

		/// <summary>
		/// Inner Exception for base class.
		/// </summary>
		/// <param name="message"></param>
		/// <param name="innerException"></param>
        public CommandLineException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

		/// <summary>
		/// Streaming exception for base class.
		/// </summary>
		/// <param name="info"></param>
		/// <param name="context"></param>
        protected CommandLineException(
            System.Runtime.Serialization.SerializationInfo info,
            System.Runtime.Serialization.StreamingContext context)
            : base(info, context)
        {
        }
    }

}
